Reducing stream interruptions during network handover

ABSTRACT

Methods, systems, and apparatus, including computer programs encoded on a computer storage medium, for receiving streaming media while switching between different networks is described. In one aspect, a method includes receiving a portion of a streaming media through a data connection on a first communication channel between a mobile device and a first network, and while the portion of the streaming media is being received through the data connection on the first communication channel, detecting that a second communication channel between the mobile device and a second network is available, establishing a data connection on the second communication channel, and receiving data through the second data connection on the second communication channel.

CROSS REFERENCE TO RELATED APPLICATION

This application is a continuation of U.S. application Ser. No.14/037,187, filed Sep. 25, 2013, which claims the benefit of thepriority of U.S. Provisional Application Ser. No. 61/784,195, filed Mar.14, 2013, both of which are incorporated herein by reference in theirentirety.

BACKGROUND

This specification relates to receiving streaming media while switchingbetween different networks.

Communication networks allow a user of a mobile device to accessinformation. Networks may be arranged in a structure that includesdifferent layers of networks. The networks in the different layersdiffer from each other with respect to network technologies. The higherlayers include network technologies that cover a large area but have lowbandwidth, while the lower layers include network technologies that havehigh bandwidth but cover a small area.

Networks in the different layers may overlap each other such that morethan one network may be available at a given location. A mobile devicemay be equipped with multiple interfaces for connecting with differentnetworks. A mobile device that includes multiple interfaces may requirethe ability to switch between the interfaces during the course of a datatransfer session when more than one network is available at a givenlocation. A switch between different interfaces to connect withdifferent networks is known as a vertical handover.

For example, a location may be within a wireless wide area network(WWAN), such as a satellite network or cellular network, and a wirelesslocal area network (WLAN), such as a Wi-Fi network. A mobile device thatincludes multiple wireless interfaces may need to switch between thewireless interfaces to connect with the different wireless networks.Similarly, a location may be within a wireless network, such as acellular network or a Wi-Fi network, and near a wireline port, such asan Ethernet port, for connecting with a wireline network. A mobiledevice that includes a wireless interface and a wireline interface mayneed to switch between the wireless interface to connect with thewireless network and the wireline interface to connect with the wirelinenetwork.

SUMMARY

A mobile device may include multiple communication interfaces forswitching between different networks. When a mobile device switches froman old network to a new network, the mobile device may need to establisha connection to the new network and redirect any ongoing data transfersfrom the old network to the new network. During the switch from the oldnetwork to the new network, some data may be delayed or lost. Thedelayed or lost data may cause an interruption in the presentation ofthe data to a user of the mobile device. This interruption may besignificant and undesirable to a user being presented with streamingmedia.

In general, one innovative aspect of the subject matter described inthis specification may be implemented in methods for receiving streamingmedia while switching between different networks. The mobile device maybe connected to a first network and may be receiving streaming mediathrough a data connection on a first communication channel between themobile device and the first network. While the streaming media is beingreceived through the data connection on the first communication channel,the mobile device may detect that a second communication channel betweenthe mobile device and a second network is available. Even though asecond communication channel on a second network is available, themobile device may maintain the data connection on the firstcommunication channel and may continue to receive the streaming mediathrough the data connection on the first communication channel. When auser of the mobile device requests other data, the mobile device mayestablish a data connection on the second communication channel forfulfilling the user's request for other data. While and after the otherdata is received through the data connection on the second communicationchannel, the mobile device may maintain the data connection on the firstcommunication channel and continue to receive the streaming mediathrough the data connection on the first communication channel until alldata of the streaming media has been received or a time period haselapsed. If the time period has elapsed and data of the streaming mediastill remains to be received, the mobile device may establish anotherdata connection on the second communication channel and redirect thestreaming of the media from the data connection on the firstcommunication channel to the other data connection on the secondcommunication channel.

In further detail, the methods for receiving streaming media whileswitching between different networks include receiving a portion of astreaming media through a data connection on a first communicationchannel between a mobile device and a first network; and while theportion of the streaming media is being received through the dataconnection on the first communication channel: detecting that a secondcommunication channel between the mobile device and a second network isavailable, establishing a data connection on the second communicationchannel, and receiving data through the second data connection on thesecond communication channel.

These and other implementations may each optionally include one or moreof the following features. In various examples, the first networkincludes a wireless wide area network, and the second network includes awireless local area network. The first communication channel includes acellular communication channel, and the second communication channelincludes a Wi-Fi communication channel. The first network includes awireless network, and the second network includes a wireline network.The first communication channel includes one of a cellular channel or aWi-Fi channel, and the second communication channel includes an Ethernetchannel. A data connection includes a TCP connection. The method furtherincludes while the second communication channel between the mobiledevice and the second network is available: maintaining the dataconnection on the first communication channel until all of the streamingmedia has been received; closing the data connection on the firstcommunication channel after all of the streaming media has beenreceived; and reducing power provided to a communication interface ofthe mobile device that maintained the data connection on the firstcommunication channel. The method further includes while the secondcommunication channel between the mobile device and the second networkis available: maintaining the data connection on the first communicationchannel for a time period while the portion of the streaming media isbeing received; closing the data connection on the first communicationchannel after the time period has elapsed; and reducing power providedto a communication interface of the mobile device that maintained thedata connection on the first communication channel. The time period isbased on at least one of a transfer data rate of the streaming mediathat is being received through the data connection on the firstcommunication channel, a number of bits of data that has been receivedbetween the mobile device and the first network over a monitored timeperiod, a data type of the streaming media, or an input from a user ofthe mobile device. The method further includes establishing another dataconnection on the second communication channel, and receiving aremaining portion of the streaming media through the other dataconnection on the second communication channel.

Particular implementations of the subject matter described in thisspecification may be implemented to realize one or more of the followingadvantages. The mobile device may maintain a data connection on acommunication channel between the mobile device and the old network tosupport any ongoing data transfers over the data connection rather thanimmediately redirecting the ongoing data transfers to the secondnetwork. Maintaining the data connection on the communication channelbetween the mobile device and the old network to support any ongoingdata transfers may reduce the delay in transferring data and may reducedata loss. The interruptions in the presentation of the data to a userof the mobile device may be reduced, thus enhancing the user's overallexperience with the mobile device.

The details of one or more implementations of the subject matterdescribed in this specification are set forth in the accompanyingdrawings and the description below. Other potential features, aspects,and advantages of the subject matter will become apparent from thedescription, the drawings, and the claims.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 is a conceptual diagram of exemplary frameworks for streamingmedia while switching between different networks.

FIG. 2 is a flowchart of an example process for streaming media whileswitching between different networks.

FIG. 3 is a block diagram of an exemplary system for streaming mediawhile switching between different networks.

DETAILED DESCRIPTION

FIG. 1 is a conceptual diagram of an exemplary framework 100 forreceiving streaming media while switching between different networks. Inparticular, the framework 100 includes a mobile device 102. The mobiledevice 102 may include, for example, handheld computers, tabletcomputers, personal digital assistants (PDAs), cellular telephones,smart phones, enhanced general packet radio service (EGPRS) mobilephones, media players, e-book readers, or a combination of any two ormore of these data processing devices or other data processing devices.

The mobile device 102 can communicate with one or more wireline and/orwireless networks through one or more wireline or wireless communicationchannels. A communication channel, or channel, may refer to a physicaltransmission medium such as a wire, or to a logical connection over amultiplexed medium such as a radio channel. A channel may be used totransfer data, such as a digital bit stream, from a sender to areceiver. A channel may have a certain capacity for transmitting data,typically measured by its bandwidth or its data rate.

Each communication channel may support one or more data connections. Adata connection is a communication session or a semi-permanentconnection that is established for transferring data. A data connectionmay be established using a connection-oriented communication protocol,such as Asynchronous Transfer Mode (ATM), connection-oriented Ethernet,Datagram Congestion Control Protocol (DCCP), Frame Relay, General PacketRadio Service (GPRS), Stream Control Transmission Protocol (SCTP), andTransmission Control Protocol (TCP).

In FIG. 1, the mobile device 102 can communicate with a cellular networkthrough a cellular channel 124 between the mobile device 102 and acellular tower transceiver 112. The cellular tower transceiver 112 canprovide wireless communication over a wide area 114. Similarly, themobile device 102 can communicate with a local area network through aWi-Fi channel 126 between the mobile device 102 and an access pointtransceiver 116, such as an 802.11g wireless access device. The accesspoint transceiver 116 can provide wireless communication over a localarea 118. The mobile device 102 can communicate over an Ethernet channel128 using an Ethernet cable connecting the mobile device 102 to anEthernet port. The Ethernet channel 128 can provide the mobile device102 with access to a wireline network. The mobile device 102 may be ableto communicate with other networks using different network technologiesthan those described above.

FIG. 1 shows examples of a user's locations at times T1 to T3 while themobile device 102 is receiving data over connections established oncommunication channels of different networks. The data may includestreaming media. Streaming media includes data that is constantlyreceived by the mobile device 102 and presented to the user while beingdelivered to the mobile device 102 by a provider of the streaming media.The mobile device 102 can present the streaming media to the user beforethe entire streaming media file has been transmitted. The terms“streaming” and “to stream” refer to the process of delivering thestreaming media in the manner described. Streaming media may includeaudio, video, images, text, or a combination, such as Internettelevision, Internet radio, streaming movies, streaming music, livevideo and audio streams, video conferencing, live closed captioning,stock tickers, and real-time text.

In an example scenario, the user is located within the communicationrange 114 of the cellular tower transceiver 112 at time T1. The mobiledevice 102 is in communication with the cellular tower transceiver 112through a cellular channel 124. The mobile device 102 is receivingstreaming media, e.g., a live football game broadcast over the Internet,over a data connection established on the cellular channel 124 betweenthe mobile device 102 and the cellular tower transceiver 112. The mobiledevice 102 is presenting the football game to the user as the data ofthe football game is being received.

While the mobile device 102 is streaming the football game over thecellular channel 124, the user moves to a location within thecommunication range 114 of the cellular tower transceiver 112 and thecommunication range 118 of the access point transceiver 116 at time T2.The mobile device 102 detects that a Wi-Fi channel 126 between themobile device 102 and the access point transceiver 116 is available.

As the user moves to the location within the communication range 118 ofthe access point transceiver 116, the mobile device 102 maintains theconnection on the cellular channel 124 with the cellular towertransceiver 112 and continues to stream the football game over theconnection on the cellular channel 124. While still streaming thefootball game on the mobile device 102 over the connection on thecellular channel 124, the user accesses a web page to check the scoresfor other football games. The mobile device 102 establishes a connectionover the Wi-Fi channel 126 for fulfilling the user's request to accessthe web page. The mobile device 102 receives the data of the web pageover the connection on Wi-Fi channel 126, while continuing to stream thefootball game over the connection on cellular channel 124.

The user continues to move until the user reaches a location near anEthernet port at time T3. The mobile device 102 is still within thecommunication range 114 of the cellular tower transceiver 112 and thecommunication range 118 of the access point transceiver 116. The userconnects the mobile device 102 to the Ethernet port using an Ethernetcable. The mobile device 102 detects that an Ethernet channel 128 isavailable.

As the user is connecting the mobile device 102 to the Ethernet port,the mobile device 102 continues to stream the football game over theconnection on the cellular channel 124 and receives an update of thescores displayed on the web page over the connection on the Wi-Fichannel 126. To continue to stream the football game withoutinterruption, the mobile device 102 maintains the connection on thecellular channel 124. To receive the update of the scores withoutfurther delay, the mobile device maintains the connection on the Wi-Fichannel 126. After receiving the update of the scores, the mobile devicecloses the connection on the Wi-Fi channel 126 and establishes aconnection on the Ethernet channel 128 for receiving future updates ofthe scores displayed on the web page. The mobile device 102 redirectsthe data of the web page to the connection on the Ethernet channel 128.No other connections are open on the Wi-Fi channel 126, so the mobiledevice 102 reduces power to a Wi-Fi transceiver in the mobile device102.

The mobile device 102 continues to stream the football game over theconnection on the cellular channel 124 for some amount of time whilealso connected to the Ethernet port to receive updates to scores overthe connection on the Ethernet channel 128. The mobile device 102 thenestablishes a second connection on the Ethernet channel 128 forstreaming the football game. The mobile device 102 redirects the data ofthe football game to the second connection on the Ethernet channel 128.Once the mobile device 102 begins receiving the data of the footballgame over the second connection on the Ethernet channel 128, the mobiledevice 102 closes the connection on the cellular channel 124. No otherdata connections are open on the cellular channel 124, so the mobiledevice 102 reduces power to the cellular transceiver in the mobiledevice 102.

In the above example scenario, the redirection of an ongoing datatransfer from one network to another network is delayed until all of thedata is received or a certain time period has elapsed. In contrast toimmediately redirecting the ongoing data transfer, delaying theredirection of the ongoing data transfer may reduce interruptions in thepresentation of the data to a user of the mobile device, and thus mayenhance the user's overall experience with the mobile device.

FIG. 2 is a flowchart of an example process 200 for receiving streamingmedia while switching between different networks. The process 200 can beperformed by a mobile device, e.g., the mobile device 102 of FIG. 1.Briefly, the process 200 includes receiving a portion of a streamingmedia through a data connection on a first communication channel betweena mobile device and a first network, detecting that a secondcommunication channel between the mobile device and a second network isavailable, maintaining the data connection on the first communicationchannel, establishing a data connection on the second communicationchannel, receiving data through the data connection on the secondcommunication channel, continue receiving the portion of the streamingmedia through the data connection on the first communication channel,optionally establishing another data connection on the secondcommunication channel, closing the data connection on the firstcommunication channel, and optionally receiving a remaining portion ofthe streaming media over the other data connection on the secondcommunication channel.

In more detail, the process 200 begins as the mobile device is receivinga portion of a streaming media through a data connection on a firstcommunication channel between the mobile device and a first network(202). The first network may include a wireless wide area network, suchas a satellite network or a cellular network, or a wireless local areanetwork, such as Wi-Fi. The first communication channel may be, forexample, a satellite channel, a cellular channel, or a Wi-Fi channel.The data connection may include a TCP connection.

While the mobile device is receiving the portion of the streaming mediathrough the data connection on the first communication channel, themobile device detects that a second communication channel between themobile device and a second network is available (204). The secondnetwork may be a network in a communication network layer lower than thefirst network. For example, when the first network includes a wirelesswide area network, the second network may include a wireless local areanetwork such as a Wi-Fi network or a wireline network such as anEthernet network, and the second communication channel may include aWi-Fi channel or an Ethernet channel. When the first network includes awireless local area network such as a Wi-Fi network, the second networkmay include a wireline network such as an Ethernet network, and thesecond communication channel may include an Ethernet channel.

Although the second communication channel may be available, the mobiledevice may maintain the data connection on the first communicationchannel (206) and may continue to receive the portion of the streamingmedia through the data connection on the first communication channel(208). The mobile device may determine to maintain the data connectionon the first communication channel to continue to receive the streamingmedia through the data connection on the first communication channel inresponse to detecting that the second communication channel isavailable. In determining to maintain the data connection on the firstcommunication channel, the mobile device may determine that the type ofdata that is being received through the data connection is streamingmedia. Maintaining the data connection on the first communicationchannel may reduce interruptions to the presentation of the streamingmedia to a user of the mobile device. If the type of data that is beingreceived through the data connection is not streaming media, the mobiledevice may immediately redirect the data that is being received to thesecond communication channel.

While receiving the portion of the streaming media through the dataconnection on the first communication channel, the mobile device mayestablish a data connection on the second communication channel (210).The data connection may include a TCP connection. The mobile device mayestablish the data connection on the second communication channel inresponse to, for example, a new request from the user for data. Themobile device receives the data through the data connection on thesecond communication channel (212). For example, while the mobile deviceis streaming and displaying media to the user, the user may access a webpage. In response to the user accessing the web page, the mobile deviceestablishes the data connection on the second communication channel andreceives the data associated with the web page through the dataconnection on the second communication channel.

The mobile device may maintain the data connection on the firstcommunication channel until all of the streaming media has beenreceived. After all of the streaming media has been received, the mobiledevice may close the data connection on the first communication channel(214). If no other data connections are open on the first communicationchannel, the mobile device may reduce power provided to a communicationinterface of the mobile device that maintained the data connection onthe first communication channel (216).

The mobile device may maintain the data connection on the firstcommunication channel until a time period has elapsed. The time periodmay be based on a transfer data rate of the streaming media that isbeing transferred over the data connection on the first communicationchannel. For example, the time period may be longer for a high datarate, which may indicate that the mobile device is receiving a streamingvideo. The time period may be shorter for a low data rate, which mayindicate that the mobile device is receiving streaming text. Thus, ifthe mobile device is presenting a streaming video to the user, thestreaming video may be presented to the user for a longer period of timebefore the streaming video is redirected to another network, which mayreduce interruptions to the presentation of the streaming video.

The time period for maintaining the connection may be based on thenumber of bits of data that has been transferred between the mobiledevice and the first network over a monitored time period. The timeperiod may be longer if the number of bits that has been transferred islow over the monitored time period. The time period may be shorter ifthe number of bits that has been transferred is high over the monitoredtime period. For example, if the user's data usage indicates that theuser is approaching an allocated data limit, the mobile device mayredirect the streaming media to another network after a short amount oftime has elapsed.

The time period may be based on a data type of the streaming media thatis being transferred over the data connection on the first network. Forexample, the time period may be longer if the type of data beingtransferred is multimedia data such as audio or video. The time periodmay be shorter if the type of data being transferred is text data. Thus,if the mobile device is presenting a streaming video to the user, thestreaming video may be presented to the user for a longer period of timebefore the streaming video is redirected to another network, which mayreduce interruptions to the presentation of the streaming video.

The time period may be based on an input from the user of the mobiledevice. The mobile device may provide a user interface by which the usermay specify the time period for maintaining connections to a networkwhen a channel between the mobile device and another preferred networkis available. The user interface may provide the user with variousoptions for specifying the time period. For example, the user interfacemay allow the user to specify different time periods for differentnetworks. As another example, the user interface may allow the user tospecify different time periods for different data types.

After the time period has elapsed, the mobile device may close the dataconnection on the first communication channel (214). If no other dataconnections are open on the first communication channel, the mobiledevice may reduce power provided to a communication interface of themobile device that maintained the data connection on the firstcommunication channel (216). If the mobile device has not received theentire streaming media, the mobile device may establish another dataconnection on the second communication channel (218) and may receive aremaining portion of the streaming media through the other dataconnection on the second communication channel (220). The other dataconnection on the second communication channel may include a TCPconnection.

FIG. 3 is a block diagram showing an exemplary internal architecture 300of a mobile device 310 for receiving streaming media while switchingbetween different networks. The architecture 300 includes a centralprocessing unit (CPU) 301, a random access memory (RAM) 302, a read-onlymemory (ROM) 303, a storage medium 304, a display interface 305, and aninput interface 306. The CPU 301 processes the computer instructionsthat include an operating system or an application. The RAM 302 includesa volatile memory device that stores computer instructions and data forprocessing by the CPU 301. The ROM 303 includes a non-volatile memorydevice that stores invariant low-level systems code or data for basicsystem functions such as basic input and output (I/O), startup, orreception of keystrokes from a keyboard. The storage medium 304 or othersuitable type of memory (e.g., such as RAM, ROM, programmable read-onlymemory (PROM), erasable programmable read-only memory (EPROM),electrically erasable programmable read-only memory (EEPROM), magneticdisks, optical disks, floppy disks, hard disks, removable cartridges,flash drives) stores files that include an operating system 314,application programs 315, and data files 316. The display interface 305provides a communication interface and processing functions forrendering video, graphics, images, and texts in a user interface. Theinput interface 306 provides a communication interface to a stylus,keyboard, and/or other input device(s) attached to the mobile device310.

A computer program product is tangibly embodied in the storage medium304, a machine-readable storage medium. The computer program productincludes instructions that, when read by the central processing unit301, operate to cause the central processing unit 301 to perform theinstructions for receiving streaming media while switching betweendifferent networks.

The architecture 300 may include multiple communication interfaces forswitching between different networks. Some examples of communicationinterfaces include a satellite transceiver 307, a cellular transceiver308, a Wi-Fi transceiver 309, and an Ethernet transceiver 310. Thesatellite transceiver 307 communicates with a satellite communicationnetwork. The cellular transceiver 308 communicates with a cellularcommunication network. The Wi-Fi transceiver 309 communicates with awireless local area network. The Ethernet transceiver 310 communicateswith a wireline local area network. Each communication interface maydetect whether a communication channel is available between theinterface and a network transceiver, establish a data connection on thecommunication channel, and receive data over the data connection.

A number of implementations have been described. Nevertheless, it willbe understood that various modifications may be made without departingfrom the spirit and scope of the disclosure. For example, various formsof the flows shown above may be used, with steps re-ordered, added, orremoved. Accordingly, other implementations are within the scope of thefollowing claims.

Embodiments and all of the functional operations described in thisspecification may be implemented in digital electronic circuitry, or incomputer software, firmware, or hardware, including the structuresdisclosed in this specification and their structural equivalents, or incombinations of one or more of them. Embodiments may be implemented asone or more computer program products, i.e., one or more modules ofcomputer program instructions encoded on a computer readable medium forexecution by, or to control the operation of, data processing apparatus.The computer readable medium may be a machine-readable storage device, amachine-readable storage substrate, a memory device, a composition ofmatter effecting a machine-readable propagated signal, or a combinationof one or more of them. The term “data processing apparatus” encompassesall apparatus, devices, and machines for processing data, including byway of example a programmable processor, a computer, or multipleprocessors or computers. The apparatus may include, in addition tohardware, code that creates an execution environment for the computerprogram in question, e.g., code that constitutes processor firmware, aprotocol stack, a database management system, an operating system, or acombination of one or more of them. A propagated signal is anartificially generated signal, e.g., a machine-generated electrical,optical, or electromagnetic signal that is generated to encodeinformation for transmission to suitable receiver apparatus.

A computer program (also known as a program, software, softwareapplication, script, or code) may be written in any form of programminglanguage, including compiled or interpreted languages, and it may bedeployed in any form, including as a stand alone program or as a module,component, subroutine, or other unit suitable for use in a computingenvironment. A computer program does not necessarily correspond to afile in a file system. A program may be stored in a portion of a filethat holds other programs or data (e.g., one or more scripts stored in amarkup language document), in a single file dedicated to the program inquestion, or in multiple coordinated files (e.g., files that store oneor more modules, sub programs, or portions of code). A computer programmay be deployed to be executed on one computer or on multiple computersthat are located at one site or distributed across multiple sites andinterconnected by a communication network.

The processes and logic flows described in this specification may beperformed by one or more programmable processors executing one or morecomputer programs to perform functions by operating on input data andgenerating output. The processes and logic flows may also be performedby, and apparatus may also be implemented as, special purpose logiccircuitry, e.g., an FPGA (field programmable gate array) or an ASIC(application specific integrated circuit).

Processors suitable for the execution of a computer program include, byway of example, both general and special purpose microprocessors, andany one or more processors of any kind of digital computer. Generally, aprocessor will receive instructions and data from a read only memory ora random access memory or both. The essential elements of a computer area processor for performing instructions and one or more memory devicesfor storing instructions and data. Generally, a computer will alsoinclude, or be operatively coupled to receive data from or transfer datato, or both, one or more mass storage devices for storing data, e.g.,magnetic, magneto optical disks, or optical disks. However, a computerneed not have such devices. Moreover, a computer may be embedded inanother device, e.g., a tablet computer, a mobile telephone, a personaldigital assistant (PDA), a mobile audio player, a Global PositioningSystem (GPS) receiver, to name just a few. Computer readable mediasuitable for storing computer program instructions and data include allforms of non-volatile memory, media and memory devices, including by wayof example semiconductor memory devices, e.g., EPROM, EEPROM, and flashmemory devices; magnetic disks, e.g., internal hard disks or removabledisks; magneto optical disks; and CD ROM and DVD-ROM disks. Theprocessor and the memory may be supplemented by, or incorporated in,special purpose logic circuitry.

To provide for interaction with a user, embodiments may be implementedon a computer having a display device, e.g., a CRT (cathode ray tube) orLCD (liquid crystal display) monitor, for displaying information to theuser and a keyboard and a pointing device, e.g., a mouse or a trackball,by which the user may provide input to the computer. Other kinds ofdevices may be used to provide for interaction with a user as well; forexample, feedback provided to the user may be any form of sensoryfeedback, e.g., visual feedback, auditory feedback, or tactile feedback;and input from the user may be received in any form, including acoustic,speech, or tactile input.

Embodiments may be implemented in a computing system that includes aback end component, e.g., as a data server, or that includes amiddleware component, e.g., an application server, or that includes afront end component, e.g., a client computer having a graphical userinterface or a Web browser through which a user may interact with animplementation, or any combination of one or more such back end,middleware, or front end components. The components of the system may beinterconnected by any form or medium of digital data communication,e.g., a communication network. Examples of communication networksinclude a local area network (“LAN”) and a wide area network (“WAN”),e.g., the Internet.

The computing system may include clients and servers. A client andserver are generally remote from each other and typically interactthrough a communication network. The relationship of client and serverarises by virtue of computer programs running on the respectivecomputers and having a client-server relationship to each other.

While this specification contains many specifics, these should not beconstrued as limitations on the scope of the disclosure or of what maybe claimed, but rather as descriptions of features specific toparticular embodiments. Certain features that are described in thisspecification in the context of separate embodiments may also beimplemented in combination in a single embodiment. Conversely, variousfeatures that are described in the context of a single embodiment mayalso be implemented in multiple embodiments separately or in anysuitable subcombination. Moreover, although features may be describedabove as acting in certain combinations and even initially claimed assuch, one or more features from a claimed combination may in some casesbe excised from the combination, and the claimed combination may bedirected to a subcombination or variation of a subcombination.

Similarly, while operations are depicted in the drawings in a particularorder, this should not be understood as requiring that such operationsbe performed in the particular order shown or in sequential order, orthat all illustrated operations be performed, to achieve desirableresults. In certain circumstances, multitasking and parallel processingmay be advantageous. Moreover, the separation of various systemcomponents in the embodiments described above should not be understoodas requiring such separation in all embodiments, and it should beunderstood that the described program components and systems maygenerally be integrated together in a single software product orpackaged into multiple software products.

Thus, particular embodiments have been described. Other embodiments arewithin the scope of the following claims. For example, the actionsrecited in the claims may be performed in a different order and stillachieve desirable results.

What is claimed is: 1-20. (canceled)
 21. A method comprising: while amobile device is receiving a media stream through a first dataconnection on a first communication channel, determining, by the mobiledevice, that a second communication channel is available; determining,by the mobile device, that data of the media stream being receivedthrough the first data connection is classified as streaming media; andafter determining that the second communication channel is available:establishing, by the mobile device, a second data connection on thesecond communication channel; after establishing the second dataconnection, continuing to receive, by the mobile device, the mediastream over the first data connection based on determining that the dataof the media stream being received through the first data connection isclassified as streaming media; and receiving, by the mobile device, datathat is not part of the media stream through the second data connectionwhile continuing to receive the media stream over the first dataconnection.
 22. The method of claim 21, further comprising: afterdetermining that the second communication channel is available andbefore establishing the second data connection on the secondcommunication channel: determining, by the mobile device, whether datathat is not part of the media stream has been requested by the mobiledevice; and wherein establishing the second data connection on thesecond communication channel is performed in response to determiningthat data that is not part of the media stream has been requested by themobile device.
 23. The method of claim 21, further comprising: while themobile device is receiving the media stream through the first dataconnection on the first communication channel and before establishingthe second data connection on the second communication channel:providing, by the mobile device, a representation of the media streamfor output at the mobile device.
 24. The method of claim 21, whereinreceiving the media stream through the first data connection on thefirst communication channel comprises: receiving, by the mobile device,data that represents one or more portions of a particular media file orbroadcast through the first data connection on the first communicationchannel; and wherein receiving data that is not part of the media streamthrough the second data connection comprises: receiving, by the mobiledevice, data that is not part of the particular media file or broadcastthrough the second data connection.
 25. The method of claim 21, furthercomprising: after establishing the second data connection on the secondcommunication channel: determining, by the mobile device, that the mediastream is no longer being received through the first data connection onthe first communication channel; and in response to determining that themedia stream is no longer being received through the first dataconnection on the first communication channel, closing, by the mobiledevice, the first data connection on the first communication channel.26. The method of claim 21, wherein receiving the media stream throughthe first data connection on the first communication channel comprises:receiving, by the mobile device, the media stream through the first dataconnection on a first communication channel between the mobile deviceand a first network; and wherein receiving data that is not part of themedia stream through the second data connection on the secondcommunication channel comprises: receiving, by the mobile device, datathat is not part of the media stream through the second data connectionon a second communication channel between the mobile device and a secondnetwork that is different from the first network.
 27. The method ofclaim 26, wherein the first communication channel between the mobiledevice and the first network has a first bandwidth, and the secondcommunication channel between the mobile device and the second networkhas a second bandwidth that is higher than the first bandwidth.
 28. Themethod of claim 27, wherein the first network is a wireless local areanetwork.
 29. The method of claim 27, wherein the second network is awireless local area network or a wireline local area network.
 30. Themethod of claim 21, wherein the data received through the second dataconnection that is not part of the media stream is not classified asstreaming media.
 31. A computer program product, encoded on one or morenon-transitory computer storage media, comprising instructions that whenexecuted by one or more computers cause the one or more computers toperform operations comprising: while a mobile device is receiving amedia stream through a first data connection on a first communicationchannel, determining, by the mobile device, that a second communicationchannel is available; determining, by the mobile device, that data ofthe media stream being received through the first data connection isclassified as streaming media; and after determining that the secondcommunication channel is available: establishing, by the mobile device,a second data connection on the second communication channel; afterestablishing the second data connection, continuing to receive, by themobile device, the media stream over the first data connection based ondetermining that the data of the media stream being received through thefirst data connection is classified as streaming media; and receiving,by the mobile device, data that is not part of the media stream throughthe second data connection while continuing to receive the media streamover the first data connection.
 32. The computer program product ofclaim 31, wherein the operations further comprise: after determiningthat the second communication channel is available and beforeestablishing the second data connection on the second communicationchannel: determining, by the mobile device, whether data that is notpart of the media stream has been requested by the mobile device; andwherein establishing the second data connection on the secondcommunication channel is performed in response to determining that datathat is not part of the media stream has been requested by the mobiledevice.
 33. The computer program product of claim 31, wherein theoperations further comprise: while the mobile device is receiving themedia stream through the first data connection on the firstcommunication channel and before establishing the second data connectionon the second communication channel: providing, by the mobile device, arepresentation of the media stream for output at the mobile device. 34.The computer program product of claim 31, wherein receiving the mediastream through the first data connection on the first communicationchannel comprises: receiving, by the mobile device, data that representsone or more portions of a particular media file or broadcast through thefirst data connection on the first communication channel; and whereinreceiving data that is not part of the media stream through the seconddata connection comprises: receiving, by the mobile device, data that isnot part of the particular media file or broadcast through the seconddata connection.
 35. The computer program product of claim 31, whereinthe operations further comprise: after establishing the second dataconnection on the second communication channel: determining, by themobile device, that the media stream is no longer being received throughthe first data connection on the first communication channel; and inresponse to determining that the media stream is no longer beingreceived through the first data connection on the first communicationchannel, closing, by the mobile device, the first data connection on thefirst communication channel.
 36. A system comprising: one or morecomputers and one or more storage devices storing instructions that areoperable, when executed by the one or more computers, to cause the oneor more computers to perform operations comprising: while a mobiledevice is receiving a media stream through a first data connection on afirst communication channel, determining, by the mobile device, that asecond communication channel is available; determining, by the mobiledevice, that data of the media stream being received through the firstdata connection is classified as streaming media; and after determiningthat the second communication channel is available: establishing, by themobile device, a second data connection on the second communicationchannel; after establishing the second data connection, continuing toreceive, by the mobile device, the media stream over the first dataconnection based on determining that the data of the media stream beingreceived through the first data connection is classified as streamingmedia; and receiving, by the mobile device, data that is not part of themedia stream through the second data connection while continuing toreceive the media stream over the first data connection.
 37. The systemof claim 36, wherein the operations further comprise: after determiningthat the second communication channel is available and beforeestablishing the second data connection on the second communicationchannel: determining, by the mobile device, whether data that is notpart of the media stream has been requested by the mobile device; andwherein establishing the second data connection on the secondcommunication channel is performed in response to determining that datathat is not part of the media stream has been requested by the mobiledevice.
 38. The system of claim 36, wherein the operations furthercomprise: while the mobile device is receiving the media stream throughthe first data connection on the first communication channel and beforeestablishing the second data connection on the second communicationchannel: providing, by the mobile device, a representation of the mediastream for output at the mobile device.
 39. The system of claim 36,wherein receiving the media stream through the first data connection onthe first communication channel comprises: receiving, by the mobiledevice, data that represents one or more portions of a particular mediafile or broadcast through the first data connection on the firstcommunication channel; and wherein receiving data that is not part ofthe media stream through the second data connection comprises:receiving, by the mobile device, data that is not part of the particularmedia file or broadcast through the second data connection.
 40. Thesystem of claim 36, wherein the operations further comprise: afterestablishing the second data connection on the second communicationchannel: determining, by the mobile device, that the media stream is nolonger being received through the first data connection on the firstcommunication channel; and in response to determining that the mediastream is no longer being received through the first data connection onthe first communication channel, closing, by the mobile device, thefirst data connection on the first communication channel.